Skip to content

Create changeset to transfer back mint authority to state pda in solana#22394

Open
agusaldasoro wants to merge 7 commits into
developfrom
new/sol-changeset
Open

Create changeset to transfer back mint authority to state pda in solana#22394
agusaldasoro wants to merge 7 commits into
developfrom
new/sol-changeset

Conversation

@agusaldasoro
Copy link
Copy Markdown
Contributor

@agusaldasoro agusaldasoro commented May 12, 2026

This pull request introduces a new changeset to clean up Solana token mint authority after migration, including a new deployment changeset for transferring mint authority to the pool signer PDA for burn-and-mint token pools. It also updates the chainlink-ccip/chains/solana/gobindings dependency to a newer version across multiple modules.

Solana Mint Authority Migration and Clean-up:

  • Added a new deployment changeset, TransferMintAuthorityToSignerPDA, which provides logic and configuration for transferring Solana token mint authority to the pool signer PDA, specifically for burn-and-mint pools. This includes validation, instruction building, and support for MCMS timelock proposals. [1] [2]

Dependency Updates:

  • Updated chainlink-ccip/chains/solana/gobindings to version v0.0.0-20260511195239-0f6e1b177fc7 in core/scripts/go.mod, deployment/go.mod, integration-tests/go.mod, integration-tests/load/go.mod, system-tests/lib/go.mod, and system-tests/tests/go.mod to ensure compatibility with the new mint authority transfer logic. [1] [2] [3] [4] [5] [6]

Changeset Documentation:

  • Added .changeset/fierce-foxes-guess.md to document the new changeset and clarify the purpose of the Solana mint authority clean-up after migration.

Deployment Code Enhancements:

  • Imported the new burnmint_token_pool binding for version v1_6_2 to support the new authority transfer logic in deployment/ccip/changeset/solana_v0_1_1/cs_token_pool.go.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

CORA - Pending Reviewers

Codeowners Entry Overall Num Files Owners
/.changeset/ 1 @smartcontractkit/foundations, @smartcontractkit/core
/deployment/ccip/ 💬 1 @smartcontractkit/ccip-tooling, @smartcontractkit/ccip-offchain, @smartcontractkit/operations-platform, @smartcontractkit/core
go.mod 5 @smartcontractkit/core, @smartcontractkit/foundations
go.sum 5 @smartcontractkit/core, @smartcontractkit/foundations
integration-tests/go.mod 1 @smartcontractkit/core, @smartcontractkit/devex-tooling, @smartcontractkit/foundations
integration-tests/go.sum 1 @smartcontractkit/core, @smartcontractkit/devex-tooling, @smartcontractkit/foundations

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 12, 2026

✅ No conflicts with other open PRs targeting develop

@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 12, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

Comment thread .changeset/fierce-foxes-guess.md Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Risk Rating: HIGH — introduces a new Solana deployment changeset that mutates SPL mint authority (high blast radius if mis-targeted), plus dependency bumps across multiple Go modules.

Changes:

  • Adds a new Solana deployment changeset to transfer SPL token mint authority back to the token pool signer PDA for Burn/Mint pools.
  • Bumps chainlink-ccip/chains/solana/gobindings to a newer pseudo-version across deployment, scripts, and test modules.
  • Adds a Changesets entry documenting the patch.

Scrupulous human review areas:

  • TransferMintAuthorityToSignerPDA: verify the instruction targets the intended on-chain program ID (bindings ProgramID vs deployed pool address) and that the account list matches the program’s expectations.
  • useMcms branch: confirm the authority selection (deployer vs timelock signer) is correct for the environments this will be run in, and that the timelock proposal parameters are valid.
  • End-to-end operational flow: confirm this cannot accidentally “brick” mint authority by submitting to the wrong program or with the wrong current authority.

Reviewed changes

Copilot reviewed 8 out of 14 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
deployment/ccip/changeset/solana_v0_1_1/cs_token_pool.go Adds the new changeset and associated config/validation for transferring mint authority to the pool signer PDA.
deployment/go.mod Bumps Solana gobindings dependency version.
deployment/go.sum Updates checksums for the bumped gobindings version.
core/scripts/go.mod Bumps Solana gobindings dependency version (scripts module).
core/scripts/go.sum Updates checksums for the bumped gobindings version (scripts module).
integration-tests/go.mod Bumps Solana gobindings dependency version (integration tests).
integration-tests/go.sum Updates checksums for the bumped gobindings version (integration tests).
integration-tests/load/go.mod Bumps Solana gobindings dependency version (load tests).
integration-tests/load/go.sum Updates checksums for the bumped gobindings version (load tests).
system-tests/lib/go.mod Bumps Solana gobindings dependency version (system test lib).
system-tests/lib/go.sum Updates checksums for the bumped gobindings version (system test lib).
system-tests/tests/go.mod Bumps Solana gobindings dependency version (system tests).
system-tests/tests/go.sum Updates checksums for the bumped gobindings version (system tests).
.changeset/fierce-foxes-guess.md Adds a patch changeset note describing the mint-authority cleanup.

Comment thread deployment/ccip/changeset/solana_v0_1_1/cs_token_pool.go
Comment thread deployment/ccip/changeset/solana_v0_1_1/cs_token_pool.go
Comment thread deployment/ccip/changeset/solana_v0_1_1/cs_token_pool.go
@cl-sonarqube-production
Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants